﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace dzs.Web.tempskd
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int tid=(Convert.ToInt32(strid));
					ShowInfo(tid);
				}
			}
		}
		
	private void ShowInfo(int tid)
	{
		dzs.BLL.tempskd bll=new dzs.BLL.tempskd();
		dzs.Model.tempskd model=bll.GetModel(tid);
		this.lbltid.Text=model.tid.ToString();
		this.lblproject.Text=model.project;
		this.lblmaterial.Text=model.material;
		this.lbltdate.Text=model.tdate.ToString();
		this.lblttype.Text=model.ttype;
		this.lbluid.Text=model.uid.ToString();
		this.lblqresult.Text=model.qresult;

	}


    }
}
